<?php

    // +----------------------------------------------------------------------
    // | 来源模型
    // +----------------------------------------------------------------------
    // | Copyright (c) 2015-2024 http://www.yicmf.com, All rights reserved.
    // +----------------------------------------------------------------------
    // | Author: 微尘 <yicmf@qq.com>
    // +----------------------------------------------------------------------

    namespace app\event\cms;

    use app\common\event\Base;
    use app\model\cms\Source as SourceModdel;

    class Source extends Base
    {

        public static function getSource()
        {
            return SourceModdel::where('status', 1)->column('id,name');
        }

    }
